package com.example.demo1.dao;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class test111 {
    public test111() {
    }

    public static void main(String[] args) {
        ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext("applicationContext.xml");
        testDao testDao = (testDao)applicationContext.getBean("testDao");
        testDao.test();
    }
}
